package main

import (
	"fmt"
	"time"
)

func main() {
	now := time.Now()
	fmt.Println(now)
	sec := now.Unix()
	if sec%2 == 0 {
		fmt.Println("if say: 现在是偶秒")
	} else {
		fmt.Println("if say: 现在是奇秒")
	}
	switch sec % 10 {
	case 0:
		fmt.Println("0")
	case 1:
		fmt.Println("1")
	case 2, 3:
		fmt.Println("2,3")
	case 4, 5, 6, 7, 8:
		fmt.Println("<9")
	default:
		fmt.Println("???")
	}
}
